package demo1;

public class Main {
    public static void main(String[] args) {
        //客户端代码：
        Context context;
        context = new Context(new ConcreteStrategyA());
        context.ContextInterface();

        context = new Context(new ConcreteStrategyB());
        context.ContextInterface();


    }
}